package com.hoapital.outpbillwork.module.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hoapital.outpbillwork.module.entity.DrugPrescMaster;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author lvyao
 * @since 2021-03-31
 */
public interface DrugPrescMasterMapper extends BaseMapper<DrugPrescMaster> {
    boolean updateChargeFlag(@Param("visitDate") String visitDate, @Param("visitNo") String visitNo);

    int updatePrescStatus(@Param("visitDate") String visitDate, @Param("visitNo") String visitNo, @Param("enterBy") String enterBy, @Param("billDateTime") String billDateTime, @Param("prescStatus") String prescStatus);

    DrugPrescMaster getDrugPrescmaster(@Param("visitDate") String visitDate, @Param("visitNo") String visitNo);
}
